#define _CRT_SECURE_NO_WARNINGS 1
#include "Queue.h"

int main()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	printf("%d \n", QueueFront(&pq));
	printf("%d \n", QueueBack(&pq));


	while (!QueueEmpty(&pq))
	{
		int ret = QueueFront(&pq);
		int size = QueueSize(&pq);
		printf("%d %d\n", ret, size);
		QueuePop(&pq);
	}
	
	return 0;
}



